-- GENERATED SPELL FOR [Darkshore Thresher] --


function spell0_2185(pUnit, Event) --@Pierce Armor,n/a--
pUnit:FullCastSpellOnTarget(6016,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2185', 20000, 1)
end

function Sorts_2185(pUnit, Event)
local choix_sorts_2185 = math.random(0, 0)
if choix_sorts_2185 == 0 then
pUnit:RegisterEvent('spell0_2185', 1, 1)
end
end

function mob2185_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2185', math.random(1500, 3000), 1)
end

function mob2185_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2185_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2185_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2185, 1, 'mob2185_Action')
RegisterUnitEvent(2185, 2, 'mob2185_Leave')
RegisterUnitEvent(2185, 3, 'mob2185_Kill')
RegisterUnitEvent(2185, 4, 'mob2185_Die')
